<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title langWord="t:User_Coupon_lbl4"></title>
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<link rel="stylesheet" href="../../resources/css/mui.css">
	<link rel="stylesheet" href="../../resources/css/style.css">
	<link rel="stylesheet" href="../../resources/css/user/register.css">
	<script src="../../resources/assets/mui.js"></script>
	<script src="../../resources/assets/avalon.js"></script>
	<script src="../../resources/assets/jquery-2.0.3.min.js"></script>
	<script src="../../resources/assets/jquery.cxselect.min.js"></script>
	<script src="../../resources/js/common.js"></script>
	<script src="../../resources/js/dahua.config.js"></script>
	<script src="../../resources/js/lang/en.js"></script>
	<!-- <script src="../../resources/js/user/register.js"></script> -->
	<script src="../../resources/js/coupon/info.js"></script>
	<style type="text/css">
		.mui-content>.mui-table-view:first-child{
			margin-top:-1px;
		}
		.mui-btn-black{
			border: 1px solid black;
			color:black;
		}
		.mui-input-row{
			display: flex;
		}
		.mui-input-row .my-lbl{
			flex: 1;
			color:rgba(0,0,0,0.7);
		}
		.mui-input-row .my-val{
			padding: 11px 15px;
			line-height: 15px;
		}
		.mui-row{
			display: flex;
    		justify-content: center;
		}
	</style>
</head>

<body ms-controller="page" >
	<div id="regPage">
		<!--头部-->
		<header class="mui-bar mui-bar-nav header">
			<h1 id="title" class="mui-title" langWord="t:User_Coupon_lbl4"></h1>
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left mui-icon-white login"></a>
			<a class="mui-icon mui-pull-right mui-icon-white home" href="../product/category.html">
				<i class="icon icon_home"></i>
			</a>
		</header>
		<div id="pullrefresh" class="mui-content mui-scroll-wrapper">
			<div class="mui-scroll">
				<!-- <div class="mui-content-padded"> -->
					<form class="mui-input-group" :validate="@validate" id="addForm" method="post">
						<input type="hidden" value="" id="uid" name="uid" />
						<div class="mui-row mui-center" ms-if="@level=='2'&&@info.qrcodePath">
							<img ms-attr="{src:getUrl()}"/>
						</div>
						<div class="mui-input-row" ms-if="@level=='2'">
							<label class="my-lbl" langWord="t:User_Coupon_lbl5"></label>
							<div class="my-val">{info.code}</div>
						</div>
						<div class="mui-input-row">
							<label class="my-lbl" langWord="t:User_Coupon_lbl6"></label>
							<div class="my-val" langWord="t:User_Coupon_lbl7"></div>
						</div>
						<div class="mui-input-row">
							<label class="my-lbl" langWord="t:User_Coupon_lbl8"></label>
							<div class="my-val">¥{info.value}</div>
						</div>
						<div class="mui-input-row" ms-if="@level=='2'">
							<label class="my-lbl" langWord="t:User_Coupon_lbl9"></label>
							<div class="my-val">{info.dt.companyName}</div>
						</div>
						<div class="mui-input-row" ms-if="@level=='1'">
							<label class="my-lbl" langWord="t:User_Coupon_lbl12"></label>
							<div class="my-val">{info.user.customer.companyName}</div>
						</div>
						<div class="mui-input-row">
							<label class="my-lbl" langWord="t:User_Coupon_lbl10"></label>
							<div class="my-val">{info.createtime}</div>
						</div>
						<div class="mui-input-row">
							<label class="my-lbl" langWord="t:User_Coupon_lbl3">有效期</label>
							<div class="my-val">{info.starttime}～{info.endtime}</div>
						</div>
						<div class="mui-input-row">
							<label class="my-lbl" langWord="t:User_Coupon_lbl11"></label>
							<div class="my-val">{info.rule}</div>
						</div>
						<div class="mui-button-row" ms-if="(@level=='1'&&@info.useStatus=='1')||@isScan">
							<button id="save" type="button" :click="@formSubmit" class="mui-btn mui-btn-update">
							 <i class="iconSubmit"></i><span langWord="t:User_Coupon_lbl13">使用</span>
							</button>
						</div>
						<div class="mui-row" ms-if="@level=='2'">
							<button id="send" type="button" :click="@formSubmit" class="mui-btn mui-btn-update">
							 <i class="iconSubmit"></i><span langWord="t:User_Coupon_lbl14">发送给DT</span>
							</button>
						</div>
						<!-- <ul class="mui-table-view">
								<li class="mui-table-view-cell">
									<div class="my-lbl">券号</div>
									<div class="my-val">41181901021115</div>
								</li>
								<li class="mui-table-view-cell">
									<div class="my-lbl">种类</div>
									<div class="my-val">现金券</div>
								</li>
								<li class="mui-table-view-cell">
									<div class="my-lbl">面额</div>
									<div class="my-val">¥500</div>
								</li>
								<li class="mui-table-view-cell">
									<div class="my-lbl">指定DT</div>
									<div class="my-val">xxx公司</div>
								</li>
								<li class="mui-table-view-cell">
									<div class="my-lbl">获取时间</div>
									<div class="my-val">2019/10/30 15:30</div>
								</li>
								<li class="mui-table-view-cell">
									<div class="my-lbl">有效期</div>
									<div class="my-val">2019/10/30-2019/11/30</div>
								</li>
								<li class="mui-table-view-cell">
									<div class="my-lbl">使用规则</div>
									<div class="my-val">二级代理有效/订单总额满50000</div>
								</li>
							</ul> -->
					</form>
				<!-- </div> -->
			</div>
		</div>
	</div>

	<!--底部导航
		<footer class="mui-bar mui-bar-tab footer">
			<a id="defaultTab" data-id="1" class="mui-tab-item" href="../product/category.html">
				<span class="mui-icon icon icon_product"></span>
				<span class="mui-tab-label">Product</span>
			</a>
			<a class="mui-tab-item" href="../solution/category.html">
				<span class="mui-icon icon icon_solution"></span>
				<span class="mui-tab-label">Solution</span>
			</a>
			<a id="partner" class="mui-tab-item mui-hidden" href="../partner/index.html">
				<span class="mui-icon icon icon_partner"></span>
				<span class="mui-tab-label">Partner</span>
			</a>
			<a class="mui-tab-item mui-active" href="user.html">
				<span class="mui-icon icon icon_usercenter active"></span>
				<span class="mui-tab-label">User Center</span>
			</a>
		</footer>
-->
</body>

</html>
